package com.wgy.day11.类和对象;

public class Student {
    String name;
    int age;
    boolean male;
    public void setName(String str){
        name=str;

    };
    public String getName(){
        return name;
    };
    public void setAge(int number){
        age=number;
    };
    public int  getAge(){
        return age;
    };
    public void setMale(boolean a){
        male=a;
    };
    public boolean isMale(){
        return male;
    };

}
